package com.office.supplies.service;

import com.office.supplies.pojo.vo.CountVO;
import com.office.supplies.pojo.vo.SaleStatisticsVO;
import com.office.supplies.pojo.vo.SalesProportionOfGoodsVO;
import com.office.supplies.pojo.vo.TurnoverVO;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author admin
 * @Description TODO
 * @Date 2023/12/13/9:56
 */
public interface StatisticsService {

    /**
     * 营业额统计
     *
     * @param begin Date
     * @param end Date
     * @return TurnoverVO
     */
    TurnoverVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    /**
     * 总体销售占比
     *
     * @return SalesProportionOfGoodsVO
     */
    List<SalesProportionOfGoodsVO> getSalesProportionOfGoods();

    /**
     * 获取库存数，销售订单数，采购订单数
     *
     * @return CountVO
     */
    CountVO getAllCount();

    SaleStatisticsVO getSaleStatistics(LocalDate begin, LocalDate end);
}
